package com.bhkj.pdjhforotherapp.core.tip;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.bhkj.pdjhforotherapp.R;
import com.bhkj.pdjhforotherapp.common.Contact;
import com.bhkj.pdjhforotherapp.common.bean.JhResultBean;
import com.bhkj.pdjhforotherapp.core.base.BaseActivity;
import com.blankj.utilcode.util.ActivityUtils;

public class TipActivity extends BaseActivity implements ITipView {

    public static void create(String title, String content,String name,String idNum, boolean isRePrint, Context context) {
        Intent intent = new Intent(context, TipActivity.class);
        intent.putExtra(Contact.TIP_TITLE, title);
        intent.putExtra(Contact.TIP_CONTENT, content);
        intent.putExtra(Contact.TIP_REPRINT, isRePrint);
        intent.putExtra(Contact.ID_NAME,name);
        intent.putExtra(Contact.ID_NUM,idNum);
        ActivityUtils.startActivity(intent);

    }


    @Override
    public int getLayoutId() {
        return R.layout.activity_tip;
    }

    @Override
    public void initView() {
        getWindow().setLayout(1600, 1000);
        new TipHandler(this);
    }

    @Override
    public void initData() {

    }


    @Override
    public void finish() {
        super.finish();
    }
}
